﻿using LPP.Entity.Booking;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPP.Core.BookingService
{
    public interface IBookingService
    {
        Task<bool> CreateBookingAsync(Booking bookingDto);
        Task<Booking> GetBookingByIdAsync(int id);
        Task<List<Booking>> GetAllBookingsAsync();
        Task<bool> UpdateBookingAsync(int id, Booking bookingDto);
        Task<bool> CancelBookingAsync(int id);
    }
}
